<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>

<body>
<div align="center">
<table border="1" cellpadding="2" cellspacing="1" style="border-collapse: collapse" bordercolor="#111111">
	<tr align="center">
		<th>序号</th>
		<th>流水号</th>
		
		<th>供应商</th>
		<th>产品</th>
		<th>名称</th>
		<th>规格</th>

		<th>数量</th>
		<th>单位</th>

		<th>币种</th>
		<th>单价</th>

		<th>价税金额</th>
		<th>税率</th>

		<th>备注</th>
		<th>状态</th>
		<th>{[$orderby]}</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	<tr align="center">
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		
		<td>{[$item.supplier_t]}</td>
		<td>{[$item.mold_t]}</td>
		<td>{[$item.name]}</td>
		<td>{[$item.standard]}</td>

		<td>{[$item.amount2]}</td>
		<td>{[$item.unit2]}</td>

		<td>{[$item.currency_t]}</td>
		<td>{[$item.price2|string_format:"%.2f"]}</td>

		<td>{[$item.total|string_format:"%.2f"]}</td>
		<td>{[$item.purchase_x.tax]}%</td>

		<td>{[$item.content]}</td>

		<td>{[$item.status_t]}</td>
		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
</table>
</div>

</body>
</html>